<div data-dojo-type="my.form.AddStudentDegreeForm" id="degreeForm" data-dojo-id="degreeForm" encType="multipart/form-data" action="createStudentDegreeAction" method="POST" accept-charset="UTF-8">
	<table>
		<tr>
			<td><label for="degree.id_classes">Classes: </label></td>
			<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="classesStore" ></div>  
				<input id="degreeIdClasses" data-dojo-attach-point="degree.id_classes" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:classesStore, autoComplete:true, name:'degree.id_classes',searchAttr:'name',required:true"></input>
			</td>
		</tr>
		<tr>
			<td><label for="degree.id_student">Student: </label></td>
			<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="studentStore" ></div>  
				<input id="degreeIdStudent" data-dojo-attach-point="degree.id_student" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:studentStore, autoComplete:true, name:'degree.id_student',searchAttr:'name',required:true"></input>
			</td>
		</tr>
		
		<tr>
			<td><label for="degree.degreename">Degree Type:</label></td>
    		<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="degreeTypeStore" data-dojo-props="url:'getDegreeTypeAction.action'"></div>      	
				<input id="addGradeStudent" data-dojo-attach-point="degree.degreename" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:degreeTypeStore, autoComplete:true, name:'degree.degreename',searchAttr:'name',required:true"></input>
    		</td>
		</tr>
		
		<tr>
			<td><label for="degree.description">Description:</label></td>
			<td><input id="addGradeDesc" type="text" name="degree.description" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true" id="degree.description" data-dojo-attach-point="degree.description"></td>
		</tr>
		
		<tr>
			<td><label for="degreevalue">Value:</label></td>
			<td><input type="text" name="degreevalue" value="" required="true" data-dojo-type="dijit.form.NumberTextBox" constraints="{min:0,max:10,places:0}" data-dojo-props="name:'degreevalue' ,required:true" id="degreevalue" data-dojo-attach-point="degreevalue"></td>
		</tr>
		
	</table>
	
	<br/>
	
	<table width="100%">
		<tr>
			<td align="left"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconSave', showLabel: true" type="submit">Save</button></td>
			<td align="right"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconDelete', showLabel: true" type="button" onClick="dijit.byId('addStudentDegreeDialog').hide()">Cancel</button></td>
		<tr>
	</table>

</div>